package cn.star.jots.filmSubject.mapper;

import cn.star.jots.filmSubject.pojo.dto.FilmSubjectQuery;
import cn.star.jots.filmSubject.pojo.entity.FilmSubject;
import cn.star.jots.filmSubject.pojo.vo.FilmSubjectVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FSMapper {
    List<FilmSubjectVO> selectAll(FilmSubjectQuery filmSubjectQuery);

    void insert(FilmSubject filmSubject);

    void deleteById(Long id);

    void deleteBySubjectId(Long id);
}
